package com.ccc.demoboot.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * @Author wz
 * @Date 2024/6/4 9:56
 * @PackageName:com.ccc.demoboot.pojo
 * @ClassName: Area
*/
/**
    * 仓库区的表
    */
@TableName(value = "area")
public class Area {

    @Override
    public String toString() {
        return "Area{" +
                "id=" + id +
                ", area='" + area + '\'' +
                ", warehouseid=" + warehouseid +
                ", remarks='" + remarks + '\'' +
                '}';
    }

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 仓库的区
     */
    @TableField(value = "area")
    private String area;

    /**
     * 所属仓库id
     */
    @TableField(value = "warehouseid")
    private Integer warehouseid;

    /**
     * 备注
     */
    @TableField(value = "remarks")
    private String remarks;

    /**
     * 获取主键
     *
     * @return id - 主键
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置主键
     *
     * @param id 主键
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取仓库的区
     *
     * @return area - 仓库的区
     */
    public String getArea() {
        return area;
    }

    /**
     * 设置仓库的区
     *
     * @param area 仓库的区
     */
    public void setArea(String area) {
        this.area = area;
    }

    /**
     * 获取所属仓库id
     *
     * @return warehouseid - 所属仓库id
     */
    public Integer getWarehouseid() {
        return warehouseid;
    }

    /**
     * 设置所属仓库id
     *
     * @param warehouseid 所属仓库id
     */
    public void setWarehouseid(Integer warehouseid) {
        this.warehouseid = warehouseid;
    }

    /**
     * 获取备注
     *
     * @return remarks - 备注
     */
    public String getRemarks() {
        return remarks;
    }

    /**
     * 设置备注
     *
     * @param remarks 备注
     */
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}